home *** CD-ROM | disk | FTP | other *** search
- Path: newsstand.cit.cornell.edu!ub!newserve!rebecca!rpi!usenet
- From: coarrm@rpi.edu (Matt Coarr)
- Newsgroups: comp.lang.c++
- Subject: Re: Beginner: How to #include
- Date: Thu, 01 Feb 1996 05:51:28 GMT
- Organization: Rensselaer Polytechnic Institute
- Message-ID: <4epkme$7r8@usenet.rpi.edu>
- References: <4eo99c$lnc@news1.usa.pipeline.com>
- Reply-To: coarrm@rpi.edu
- NNTP-Posting-Host: coarrm.stu.rpi.edu
- X-Newsreader: Forte Free Agent 1.0.82
-
- grantp@usa.pipeline.com(Pete) wrote:
-
- >#if !defined(_MY_DATA_H_)
- >#define _MY_DATA_H
- >#endif // last line in your .h file to match the first #if !defined
-
- Another way to write this is (possibly better):
-
- #ifndef _MY_DATA_H
- #define _MY_DATA_H
-
- ...
- #endif
-
- Matt Coarr
- coarrm@rpi.edu
-
-
-